let knowledgeMocks: any[] = [
  {
    url: "/knowledge/list",
    response: (e: any) => {
      let res = {
        msg: "操作成功",
        code: 200,
        data: {
          total: 13,
          records: [
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:30",
              updateBy: null,
              updateTime: null,
              remark: "新增操作",
              dictCode: 19,
              dictSort: 1,
              dictLabel: "新增",
              dictValue: "1",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "info",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:31",
              updateBy: null,
              updateTime: null,
              remark: "修改操作",
              dictCode: 20,
              dictSort: 2,
              dictLabel: "修改",
              dictValue: "2",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "info",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:31",
              updateBy: null,
              updateTime: null,
              remark: "删除操作",
              dictCode: 21,
              dictSort: 3,
              dictLabel: "删除",
              dictValue: "3",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "danger",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:32",
              updateBy: null,
              updateTime: null,
              remark: "授权操作",
              dictCode: 22,
              dictSort: 4,
              dictLabel: "授权",
              dictValue: "4",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "primary",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:32",
              updateBy: null,
              updateTime: null,
              remark: "导出操作",
              dictCode: 23,
              dictSort: 5,
              dictLabel: "导出",
              dictValue: "5",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "warning",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:32",
              updateBy: null,
              updateTime: null,
              remark: "导入操作",
              dictCode: 24,
              dictSort: 6,
              dictLabel: "导入",
              dictValue: "6",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "warning",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:33",
              updateBy: null,
              updateTime: null,
              remark: "强退操作",
              dictCode: 25,
              dictSort: 7,
              dictLabel: "强退",
              dictValue: "7",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "danger",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:33",
              updateBy: null,
              updateTime: null,
              remark: "生成操作",
              dictCode: 26,
              dictSort: 8,
              dictLabel: "生成代码",
              dictValue: "8",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "warning",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:33",
              updateBy: null,
              updateTime: null,
              remark: "清空操作",
              dictCode: 27,
              dictSort: 9,
              dictLabel: "清空数据",
              dictValue: "9",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "danger",
              isDefault: "N",
              status: "0",
              default: false,
            },
            {
              createBy: "admin",
              createTime: "2023-04-23 16:13:30",
              updateBy: null,
              updateTime: null,
              remark: "其他操作",
              dictCode: 18,
              dictSort: 99,
              dictLabel: "其他",
              dictValue: "0",
              dictType: "sys_oper_type",
              cssClass: "",
              listClass: "info",
              isDefault: "N",
              status: "0",
              default: false,
            },
          ],
        },
      };
      console.log(e);
      return res.data;
    },
  },
];

export default knowledgeMocks;
